<%@page import="java.util.Date"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Car Sale</title>
</head>
<body>
	
	<%
	
	application.setAttribute("server-start", new Date());
	
	
		if(session.isNew()){
			out.print("<h3>New</h3>");
			session.setMaxInactiveInterval(10);
			
		}else{
			out.print("<h3>Old</h3>");
		}
	%>
	
	<h1>Car Sale</h1>
	<a href="register.jsp">Register</a><br>
	<a href="login.jsp">Login</a><br>
	<a href="logout.jsp">Logout</a><br>
	<a href="member/car_post.jsp">Post a Car</a><br>
	<a href="member/car_list.jsp">Browse a Car</a><br>
	
</body>
</html>